home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / remote / u_orig.zip / U-ORIG.DOC < prev    next >
Text File  |  1992-07-07  |  4KB  |  79 lines

  1. * User-defined Origin lines for Remote Access
  2.  
  3.                         Fredric L. Rice
  4.               FidoNet 1:102/890.0 - The Skeptic Tank.
  5.  
  6. One of the more noted comments one will hear every now and then in the
  7. Echo Conferences is that the  origin lines of Users do not reflect the
  8. moods and opinions of the  User yet will usually reflect the moods and
  9. opinions of the  System Operator.  This is actually an artifact of the
  10. application of  'clever'  sayings and remarks being used in the origin
  11. line  rather than the  name of  the system  as it seems was originally
  12. intended. Indeed,  you might  recall a  few comments in FidoNews about
  13. the fact that the origin lines are being somewhat 'abused.'
  14.  
  15. Well good.  Let's abuse  them some more.  To my knowledge, there is no
  16. utility, door or otherwise, which allows  Users to tailor their origin
  17. lines for the Remote Access systems they're posting messages with. For
  18. this ability, I've developed a  DOOR program which will allow Users to
  19. enter any origin they wish, provided it is from 10 to 60 characters in
  20. length and their security rating is of a certain value or higher.
  21.  
  22. How it works:
  23.  
  24. To offer a description of the process, let me describe how it works on
  25. my system. Your system may choose a different route, of course, due to
  26. the very good flexibility of Remote Access.
  27.  
  28. 1) My WELCOME.* files have the following control sequence in them:
  29.  
  30.                         ^X *C /C U-ORIG APPLY
  31.  
  32. This will cause the  U-ORIG  program to  open up the DORINFO1.DEF file
  33. and extract the Users name, com port, and security value.  The program
  34. will  also  extract  configuration  information  out of  a file called
  35. U-ORIG.CFG which contains:
  36.  
  37.                         o A default origin line
  38.                         o A minimum security level value
  39.                         o The path to the Remote Access root directory
  40.  
  41. If the security values don't match  or allow the  User to apply his or
  42. her own origin line, then the program exits back to Remote Access.  If
  43. the security  value allows  it, the Users origin line (if there is one
  44. yet) is extracted from the  U-ORIG.DAT file and  written into each one
  45. of the active message  folders in the  MESSAGES.RA  data file.  If the
  46. User doesn't have an entry, the default origin line in the  U-ORIG.CFG
  47. file is used. This makes sure that a  User  does not get someone elses
  48. origin line applied to his or her messages.
  49.  
  50. 2) The User may select a menu option which will execute the following:
  51.  
  52.                         *M C:\FRED\U-ORIG UPDATE
  53.  
  54. The program is  executed as before only this time, the User is offered
  55. a display of their old  origin line (if there is one) and is  prompted
  56. about whether it should  be change or  if a new one should be created.
  57. There is a 30 second time-out  on the inputs so that if something goes
  58. wrong, U-ORIG will return to the Remote Access BBS after 30 seconds.
  59.  
  60. After entering  an origon  line, the  User may (K)eep, (T)ry again, or
  61. (Q)uit all  together. If  the User elects to Keep the new origin line,
  62. the origin line is saved to the  U-ORIG.DAT  file along with the Users
  63. name,  and the  new origin  line is applied  to the  message  folders,
  64. allowing any messages entered to have the new origin lines applied.
  65.  
  66. There is  another option  and that  is to execute  U-ORIG  without any
  67. option  offered on  the  command line.  When this is done, the program
  68. will simply update all of the active message folders  with the default
  69. origin line stored in the U-ORIG.CFG data file.
  70.  
  71. U-ORIG.LZH is available  here for FileRequest  and contains the source
  72. code (Written in Borlan C 2.0) so that if you find that it does things
  73. you don't like, you may change the code. If you have an update in mind
  74. or need  something done  to your particular version, let me know and I
  75. will work with you on it and FileAttach the update for free.
  76.  
  77. Fredric L. Rice
  78. 1:102/890.0. The Skeptic Tank.
  79.